package com.example.liuhb.h5;

import com.example.liuhb.NOME.GetOrdersPrams;
import com.example.liuhb.NOME.GetOrdersResult;
import com.example.liuhb.NOME.GetOrdersResultDate;
import com.example.liuhb.NOME.Prams;
import com.example.liuhb.NOME.Result;
import com.example.liuhb.NOME.ResultData;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.Url;

/**
 * 区域
 */

public interface TaskGetTableServer {

    @POST("/api/BDS//GetWhenNotLoginedIn")
    Call<TableModel>  get(@Body ResultDemo obj);
    @POST("/api/TokenAuth/Authenticate")
    Call<Result<ResultData>>  getResult(@Body Prams obj);

    @GET()
    Call<Result<GetOrdersResultDate>>  getOrderResult(@Url String url, @Query("billno") String billno);
}
